<template>
<uni-shadow-root class="partials-nearShop-gongyi_near_shop-index"><template name="gongyi_shop_list">
<block v-if="shops.length >0">
  <view class="store_list">
    <view v-for="(item,index) in (shops)" :key="item.index" class="store_item" :data-link="'near_shop_page.html?addShopId='+(item.id)" @click="tolinkUrl">
      <view class="i_store_item_head">
          <image class="i_store_item_head_img" mode="widthFix" :src="(item.shopLogo)+'?x-oss-process=style/preview'" v-if="item.shopLogo"></image>
          <image class="i_store_item_head_img" mode="widthFix" src="https://image1.sansancloud.com/xianhua/2019_12/17/11/16/47_265.jpg?x-oss-process=style/preview_120" v-else></image>
      </view>
      <view class="i_store_item_content">
          <text class="i_store_item_name">{{item.shopName}}</text>
          <view class="i_store_item_content_bottom">
              <view class="i_store_item_content_bottom_item">
                  <text class="i_store_item_content_bottom_item_title">累计捐助价值：</text>
                  <text class="i_store_item_content_bottom_item_value">{{}}元</text>
              </view>
              <view class="i_store_item_content_bottom_item">
                  <text class="i_store_item_content_bottom_item_title">优惠买单为老人省：</text>
                  <text class="i_store_item_content_bottom_item_value">{{}}元</text>
              </view>
          </view>
      </view>
      <view class="i_store_item_nav" :data-item="item" @click="clickCatch">
          <image src="https://image1.sansancloud.com/xianhua/2019_12/27/17/24/20_148.jpg?x-oss-process=style/preview_120" class="i_store_item_nav_img"></image>
      </view>
    </view>
  </view>
</block>
<block v-else>
  <view class="noproduct">
    <image mode="widthFix" src="https://image1.sansancloud.com/xianhua/2019_12/16/15/54/55_950.jpg?x-oss-process=style/preview_120"></image>
    <text>没有相关店铺</text>
  </view>
</block>
</template></uni-shadow-root>
</template>
<wxs src="../../../public/publicFun.wxs" module="publicFun"></wxs>
<script>

global['__wxRoute'] = 'partials/nearShop/gongyi_near_shop/index'

Component({})

export default global['__wxComponents']['partials/nearShop/gongyi_near_shop/index']
</script>
<style platform="mp-weixin">
.i_store_item_head{
    width: 140rpx;
    height: 140rpx;
    margin-right: 32rpx;
}
.i_store_item_head_img{
    width: 100%;
    height: 100%;
}
.i_store_item_content{
    width: 400rpx;
    display: flex;
    flex-direction: column;
    margin-right: 50rpx;
}
.i_store_item_name{
    display: flex;
    flex-direction: row;
    font-size: 32rpx;
    color: #333;
    font-weight: bold;
    margin-bottom: 16rpx;
    margin-top: 6rpx;
}
.i_store_item_content_bottom{
    display: flex;
    flex-direction: column;
}
.i_store_item_content_bottom_item{
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #333;
    font-size: 24rpx;
    margin-bottom: 10rpx;
}
.i_store_item_content_bottom_item:last-child{
    margin: 0;
}
.i_store_item_content_bottom_item_title{
    color: #999;
}
.i_store_item_nav{
    width: 86rpx;
    height: 142rpx;
    display: flex;
    align-items: center;
    justify-content: center;
}
.i_store_item_nav_img{
    width: 100%;
    height: 100%;
}
</style>